home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / qbbs276s.zip / ERRYN-L.ZIP / DBGO.BAT < prev    next >
DOS Batch File  |  1992-03-09  |  1KB  |  97 lines

  1. :start
  2. cd\dbridge
  3. db
  4. cd\qbbs
  5. if ERRORLEVEL == 201 goto event
  6. if ERRORLEVEL == 200 goto exit_bbs
  7. if ERRORLEVEL == 150 goto local
  8. if ERRORLEVEL == 144 goto 14_4_baud
  9. if ERRORLEVEL == 96 goto 9600_baud
  10. if ERRORLEVEL == 24 goto 2400_baud
  11. if ERRORLEVEL == 12 goto 1200_baud
  12. if ERRORLEVEL == 3 goto 300_baud
  13. goto start
  14.  
  15. :local
  16. quickbbs -l -e0
  17. goto after_q
  18.  
  19. :300_baud
  20. quickbbs -b300 -e0
  21. goto after_q
  22.  
  23.  
  24. :1200_baud
  25. quickbbs -b1200 -e0
  26. goto after_q
  27.  
  28. :2400_baud
  29. quickbbs -b2400 -e0
  30. goto after_q
  31.  
  32. :9600_baud
  33. quickbbs -b9600 -e0
  34. goto after_q
  35.  
  36. :14_4_baud
  37. quickbbs -b14400 -e0
  38. goto after_q
  39.  
  40. :after_q
  41. if ERRORLEVEL == 70 goto twars
  42. if ERRORLEVEL == 60 goto graysoft
  43. if ERRORLEVEL == 50 goto grayqwk
  44. if ERRORLEVEL == 40 goto register
  45. if ERRORLEVEL == 30 goto thepit
  46. if ERRORLEVEL == 20 goto sft
  47. if ERRORLEVEL == 10 goto combat
  48. goto start
  49.  
  50. :restart
  51. cd\qbbs
  52. quickbbs -r -e0
  53. goto after_q
  54.  
  55. :sft
  56. cd\qbbs
  57. c:\command.com /c sft.bat
  58. goto restart
  59.  
  60. :combat
  61. cd\qbbs
  62. c:\command.com /c combat.bat
  63. goto restart
  64.  
  65. :thepit
  66. cd\qbbs
  67. c:\command.com /c pit.bat
  68. goto restart
  69.  
  70. :register
  71. cd\qbbs
  72. gverify.exe
  73. goto restart
  74.  
  75. :grayqwk
  76. cd\qwk
  77. grayqwk
  78. goto restart
  79.  
  80. :graysoft
  81. cd\qbbs
  82. c:\command.com /c graysoft.bat
  83. goto restart
  84.  
  85. :twars
  86. cd\qbbs
  87. c:\command.com /c twars.bat
  88. goto restart
  89.  
  90. :event
  91. cd\qbbs
  92. c:\command.com /c event.bat
  93. goto start
  94.  
  95. :exit_bbs
  96. exit
  97.